From: Jan D. Date: Fri, 15 Jan 2010 17:05:04 +0000 (+0100) Subject: Take desktop panels into account when sizing frames so they fit on the screen. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~8706 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=1af94bf7f39196a96928fbe8c7a4c530c036d6ab;p=emacs.git Take desktop panels into account when sizing frames so they fit on the screen. xfns.c (x_get_current_desktop, x_get_desktop_workarea): New functions. (Fx_create_frame): Call x_get_current_desktop and x_get_desktop_workarea to find out usable size of the desktop. Don't make frames larger than this. Bug #3643. --- 1af94bf7f39196a96928fbe8c7a4c530c036d6ab